package beautiful.butterfly.schedule.test;


import beautiful.butterfly.schedule.strategy.ScheduleFactory;
import org.junit.Test;
import org.unitils.UnitilsJUnit4;
import org.unitils.spring.annotation.SpringApplicationContext;
import org.unitils.spring.annotation.SpringBeanByName;

/**
 * ���Ȳ���
 *
 * @author xuannan
 */
@SpringApplicationContext({"schedule.xml"})
public class StartDemoSchedule extends UnitilsJUnit4 {
    @SpringBeanByName
    ScheduleFactory scheduleFactory;

    public void setScheduleFactory(
            ScheduleFactory scheduleFactory) {
        this.scheduleFactory = scheduleFactory;
    }

    @Test
    public void testRunData() throws Exception {
        Thread.sleep(100000000000000L);
    }
}
